package com.xone.collaboration.service;

import com.xone.collaboration.common.Result;
import com.xone.push.center.client.PushMessage;

public interface PushService {

    /**
     * 获取push token
     * @param appId
     * @param topic
     * @return
     */
    public Result<String> getToken(String appId, String topic);

    /**
     *
     * @param message
     * @return
     */
    public Boolean sendMessage(PushMessage message);


}
